slices
Type
property
Summary
Specifies how many angles a line can snap to when drawing a line or irregular polygon with the Shift key held down.
Syntax
set the slices to <number>
Description
Use the slices property to draw lines at specified angles.
The slices property is specified in degrees. 360 (the number of degrees in a full circle) divided by the slices yields the angle of each slice to the next slice. For example, if the slices is set to 16, the angle of a line drawn with the Shift key held down can be any multiple of 22.5 degrees (360 divided by 16).
Examples
set the slices to 4 -- only 90-degree angles with shift key
set the slices to card field 2
Related
keyword: integer, polygon, line
property: polySides, centered, grid
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop
server